<script setup lang="ts">
import OssProviderSwitch from './components/OssProviderSwitch.vue';
import FileUploader from './components/FileUploader.vue';
import FileList from './components/FileList.vue';
</script>

<template>
  <div class="app">
    <el-container>
      <el-header>
        <h1>AnySDK-OSS 演示</h1>
      </el-header>

      <el-main>
        <oss-provider-switch />
        <file-uploader />
        <file-list />
      </el-main>
    </el-container>
  </div>
</template>

<style>
.app {
  min-height: 100vh;
}

.el-header {
  background-color: #409EFF;
  color: white;
  text-align: center;
  line-height: 60px;
  padding: 0;
}

.el-main {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

h1 {
  margin: 0;
  font-size: 24px;
}
</style>
